package com.linhh.mall.center.server.mappers;

import com.linhh.mall.center.common.pojo.CategoryInfo;

import java.util.List;

/**
 * @Author linhh
 * @Date 2022 10 27 00 29
 **/
public interface CategoryInfoMapper {
    /**
     * 获取去全部商品分类
     * @return
     */
    List<CategoryInfo> selectAllCateGory();

    /**
     * 获取前两级商品分类
     * @return
     */
    List<CategoryInfo> selectCategoryLevel2();

    int updateCategory(CategoryInfo categoryInfo);


}
